package Controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: ServiceConfigController
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2025/9/9 16:35
 * @Version 17.0.2
 */
@RefreshScope
@RestController
public class ServiceConfigController {
    @Value("${service.config}")
    private  String ServiceConfig;

    @Value("/service/config")
    public  String getServiceConfig(){
        return ServiceConfig;
    }
}
